package com.example.jetpacklearn.liftcycle

import androidx.lifecycle.LiveData
import com.example.jetpacklearn.MusicBean

/**
 *
 * @ClassName:      LiveDataState$
 * @Description:    java类作用描述
 * @Author:         xinya
 * @CreateDate:     2020/11/2$ 19:28$
 * @UpdateRemark:   更新内容
 * @Version:        1.0
 */
class LiveDataMusic private constructor(): LiveData<MusicBean>() {
    companion object {
        val instance by lazy {
            LiveDataMusic()
        }
    }

    public override fun postValue(value: MusicBean?) {
        super.postValue(value)
    }

    public override fun setValue(value: MusicBean?) {
        super.setValue(value)
    }
}
